#pragma once
#include "../stdafx.h"
#include <vector>
using namespace std;
namespace BottomLayer
{
	enum TEXTURE_KIND
	{
		BACKGROUND,FIGURE,SYSTEMRES
	};

	typedef struct _TEXTURE
	{
		LPDIRECT3DTEXTURE9 m_texture;
		DWORD id;
		DWORD station;
		DWORD state;
		TEXTURE_KIND kind;
	}TEXTURE;

	class Texture
	{
	public:
		Texture(void);
		~Texture(void);
		HRESULT InitTexture(void);
		BOOL AddTexture(const char*,const char*,int,int);
		LPDIRECT3DTEXTURE9 GetTexture(TEXTURE_KIND kind,int id,int state);
		vector<TEXTURE> m_Texture;
	};
}